import Vue from 'vue'
import App from './App'
import VueI18n from "vue-i18n";
import VueClipboard from 'vue-clipboard2'
Vue.use(VueI18n);
Vue.use(VueClipboard);

Vue.config.productionTip = false

App.mpType = 'app'
const i18n = new VueI18n({
  locale: 'en',
  messages: {
    zh: require("./static/lang/text-zh.json"),
    en: require("./static/lang/text-en.json"),
    pt: require("./static/lang/text-pt.json")
  }
});
Vue.prototype._i18n = i18n
const app = new Vue({
  i18n,
  ...App
})
app.$mount()
